<template>
	<view>
		<image :src='url' class="qrcode" :style="'height: '+(screenHeight)+'px'" mode="aspectFit"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url:'',
				screenHeight: 750
			}
		},
		onLoad(options) {
			this.screenHeight = uni.getSystemInfoSync().screenHeight-100
			console.log(uni.getSystemInfoSync().screenHeight)
			this.url = options.url || '';
			console.log(this.url)
		},
		methods: {
			
		}
	}
</script>
<style>
	.qrcode{
		width: 100%;
	}
</style>
